package com.buddy.design.pattern._10observer.event.mouse;

import com.buddy.design.pattern._10observer.event.EventLisenter;

public class Mouse extends EventLisenter {

    public void click(){
        System.out.println("调用单击鼠标方法");
        this.trigger(MouseEventType.ON_CLICK);
    }
}
